package com.inifitness.admin.core.system.model.dto;

import java.io.Serial;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * 登录结果响应对象
 *
 * @author sunjinfeng
 * @since 2024/04/18 11:00:00
 */
@Schema(description = "登录响应对象")
@Data
@Builder
public class LoginResult implements Serializable {

  @Serial
  private static final long serialVersionUID = -5528481838105635625L;
  @Schema(description = "访问token")
  private String accessToken;

  @Schema(description = "token 类型", example = "Bearer")
  private String tokenType;

  @Schema(description = "刷新token")
  private String refreshToken;

  @Schema(description = "过期时间(单位：毫秒)")
  private Long expires;

}
